package com.shycloud.mido.homework.api.entity;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 教辅留言表
 */
@Data
@TableName(value = "zebra_homework_leave_message")
public class ZebraHomeworkLeaveMessage {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/** 关联作业ID */
	@TableField(value = "homework_id")
	private Long homeworkId;
	/** 留言身份 0-学生 1-教师 */
	@TableField(value = "is_teacher")
	private String isTeacher;
	/** 留言类型 1-文字 2-语音 */
	@TableField(value = "type")
	private String type;
	/** 留言信息 */
	@TableField(value = "message")
	private String message;
	/** 留言时间 */
	@TableField(value = "create_time")
	private LocalDateTime createTime;

	public static final String COL_ID = "id";

	public static final String COL_HOMEWORK_ID = "homework_id";

	public static final String COL_IS_TEACHER = "is_teacher";

	public static final String COL_TYPES = "types";

	public static final String COL_MESSAGE = "message";

	public static final String COL_CREATE_TIME = "create_time";
}